package com.asialjim.wechat.official.message.customer;

import com.asialjim.wechat.official.message.customer.item.Media;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * <h1><em>ASIAL JIM JAVA DOC</em></h1><hr/>
 * <h2>CLASS DESCRIPTION <i>[ NAME: WeChatCustomerVoiceMessage ]</i></h2><strong>
 * <p> we-chat voice customer message
 * </strong><p><p><em>Copyright &copy; Asial Jim Co., LTD</em><hr/>
 *
 * @author Asial Jim &nbsp;&nbsp; <span>Email:<a href="mailto:asialjim@hotmail.com">asialjim@hotmail.com</a> &nbsp;&nbsp; <a href="asialjim@qq.com">asialjim@qq.com</a></span>
 * @version 1.0.0
 * @since 2021/3/8   &nbsp;&nbsp; JDK 8
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class WeChatCustomerVoiceMessage extends WeChatCustomerMessage {
    private Media voice;

    public WeChatCustomerVoiceMessage() {
        super.msgtype = "voice";
    }

    public WeChatCustomerVoiceMessage(Media voice) {
        super.msgtype = "voice";
        this.voice = voice;
    }
}